package com.sixfoot.facade.scale;

import org.springframework.stereotype.Component;

import com.sixfoot.domain.scale.Scale;
import com.sixfoot.foundation.mapping.adapter.AbstractDtoAdapter;

@Component
public class ScaleAdapter extends AbstractDtoAdapter<Scale, ScaleDto, ScaleInputArgs> {

	@Override
	public Scale postConvertToDo(ScaleInputArgs i, Scale d) {
		return postUpdate(i, d);
	}

	@Override
	public Scale postUpdate(ScaleInputArgs i, Scale d) {
		return d;
	}

}
